﻿// Copyright: 2012 
// Author: Minh Vu - YoungJ
// File name: Class1.cs
// Solution: WpfEncryption
// Project: WpfEncryption
// Time: 9:32 AM 28/05/2012
namespace WpfEncryption.Hash_Algorithm
{
    public abstract class MyHashAlgorithm
    {

        /// <summary>Encrypt the given plain text with the Algorithm indicated</summary>
        /// <param name="p">The plain text</param>
        /// <param name="s">The salt</param>
        /// <returns> The encrypted string </returns>
        public abstract string Encrypt(string p, string s);

        /// <summary>Encrypt the given plain text with the Algorithm indicated</summary>
        /// <param name="s">The plain text</param>
        /// <returns> The encrypted string </returns>
        public abstract string Encrypt(string s);
    }
}